package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.notnull.NotNull;
import com.downlove.validation.strlength.CheckLength;
import com.zito.pojo.AdvicePOJO;

@SuppressWarnings("serial")
public class Advice extends AdvicePOJO {
	private Long id;
	@NotNull(message = "标题不能为空", groups = { Default.class })
	@CheckLength(message = "标题字符长度不能小于4个字符，不能大于200个字符，一个中文为2个字符", min = 4, max = 200, groups = { Default.class })
	private String questitle;
	@CheckLength(message = "说明内容长度不能大于4000个字符",  max = 4000, groups = { Default.class })
	private String quescontent;
	private String questime;
	private String quesname;
	private String quesphone;
	private String quesemail;
	private String quesip;
	private int isreport;
	private int isshow;
	private Long ansid;
	private String ansname;
	private String anstime;
	private String anscontent;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getQuestitle() {
		return questitle;
	}
	public void setQuestitle(String questitle) {
		this.questitle = questitle;
	}
	public String getQuescontent() {
		return quescontent;
	}
	public void setQuescontent(String quescontent) {
		this.quescontent = quescontent;
	}
	public String getQuestime() {
		return questime;
	}
	public void setQuestime(String questime) {
		this.questime = questime;
	}
	public String getQuesname() {
		return quesname;
	}
	public void setQuesname(String quesname) {
		this.quesname = quesname;
	}
	public String getQuesphone() {
		return quesphone;
	}
	public void setQuesphone(String quesphone) {
		this.quesphone = quesphone;
	}
	public String getQuesemail() {
		return quesemail;
	}
	public void setQuesemail(String quesemail) {
		this.quesemail = quesemail;
	}
	public String getQuesip() {
		return quesip;
	}
	public void setQuesip(String quesip) {
		this.quesip = quesip;
	}
	public int getIsreport() {
		return isreport;
	}
	public void setIsreport(int isreport) {
		this.isreport = isreport;
	}
	public int getIsshow() {
		return isshow;
	}
	public void setIsshow(int isshow) {
		this.isshow = isshow;
	}
	public Long getAnsid() {
		return ansid;
	}
	public void setAnsid(Long ansid) {
		this.ansid = ansid;
	}
	public String getAnsname() {
		return ansname;
	}
	public void setAnsname(String ansname) {
		this.ansname = ansname;
	}
	public String getAnstime() {
		return anstime;
	}
	public void setAnstime(String anstime) {
		this.anstime = anstime;
	}
	public String getAnscontent() {
		return anscontent;
	}
	public void setAnscontent(String anscontent) {
		this.anscontent = anscontent;
	}
}
